package com.hzd.init;

import ablaze.framework.config.SystemConfig;
import ablaze.framework.utils.Profiles;

import javax.servlet.ServletContextEvent;

/**
 * @author kent
 * @date 15/10/21.
 */
public class InitListener extends ablaze.framework.init.InitListener {


    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        super.contextInitialized(servletContextEvent);

        SystemConfig.init(Profiles.getPropertiesFileName("/application.properties"));
    }
}
